package com.hp.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hp.common.annotation.Excel;
import com.hp.common.core.domain.BaseEntity;

import java.util.Date;

public class IdentifyInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**记录主键*/
    @Excel(name = "编号")
    private Integer id;

    /**车牌识别颜色型号*/
    @Excel(name = "颜色型号")
    private Integer colortype;

    /**车牌号字符串*/
    @Excel(name = "车牌号")
    private String license;

    /**识别记录时间*/
    @Excel(name="记录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",type = Excel.Type.EXPORT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date identifydate;

    /**识别设备序列号*/
    @Excel(name = "设备序列号")
    private String serialno;

    /**是否处理*/
    @Excel(name = "是否处理",readConverterExp = "1=是,2=否")
    private Byte isdeal;

    /**处理时间*/
    @Excel(name = "处理时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",type = Excel.Type.ALL)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dealTime;

    /**进出记录编号*/
    @Excel(name = "记录编号")
    private Integer passid;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getColortype() {
        return colortype;
    }

    public void setColortype(Integer colortype) {
        this.colortype = colortype;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public Date getIdentifydate() {
        return identifydate;
    }

    public void setIdentifydate(Date identifydate) {
        this.identifydate = identifydate;
    }

    public String getSerialno() {
        return serialno;
    }

    public void setSerialno(String serialno) {
        this.serialno = serialno;
    }

    public Byte getIsdeal() {
        return isdeal;
    }

    public void setIsdeal(Byte isdeal) {
        this.isdeal = isdeal;
    }

    public Date getDealTime() {
        return dealTime;
    }

    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    public Integer getPassid() {
        return passid;
    }

    public void setPassid(Integer passid) {
        this.passid = passid;
    }
}
